<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>绝对定位</title>
</head>
<style>
    *{
        margin:0 auto;
    }
    .left,.right,.conter{
      position: absolute;
      height:500px;
    }
    .left{
        width:200px;
        left:0;
        background:plum;
    }
    .right{
        width:200px;
        right:0;
        background:plum;
    }
    .conter{
        right:200px;
        left:200px;
        background:pink;
    }
</style>
<body>
    <div class="container">
        <div class="left">左边</div>
        <div class="conter">中间</div>
        <div class="right">右边</div>
    </div>
</body>
</html>